package com.song.service;

import com.alibaba.csp.sentinel.annotation.SentinelResource;
import org.springframework.stereotype.Service;

@Service
public class SentinelServiceImpl implements SentinelService{
    @Override
    @SentinelResource(value = "getUser")
    public void getUser() {
        System.out.println("链路流控模式");
    }
}